package com.zjw.mp.demo.Test;

import com.zjw.mp.demo.mapper.BookMapper;
import com.zjw.mp.demo.pojo.Books;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author:zhaojiawei
 * @Date: 2023/3/20 15:31
 */
public class Test {

    @Autowired
    private BookMapper mapper;

    @org.junit.jupiter.api.Test
    void contextLoads(){
        List<Books> books = mapper.selectList(null);
        books.forEach(System.out::println);
    }
}
